<?php
namespace Mp\Service\Tab;

use Illuminate\Contracts\Support\Renderable;

class Page implements Renderable  {


	protected $title;

	protected $content ;

	protected $symbol;

	public function __construct(){
		$this->symbol = str_random(8);
	}
//	protected $view = "Mp::widgets.tab";
	public function title($title){
		$this->title = $title;
	}

	public function content($content){
		$this->content = $content;
	}

	public function __get($name){
		
		return $this->$name;
	}

	public function render(){
		
		return $this->content;
	}

}